package disjunction.core.geom
{
	/**
	 *
	 *
	 * @author Nick Wiggill
	 */
	
	public class Vector3
	{
		public var x:Number;
		public var y:Number;
		public var z:Number;
		
		public function Vector3(x:Number, y:Number, z:Number)
		{
			this.x = x;
			this.y = y;
			this.z = z;
		}
		
		public function toVector2():Vector2
		{
			return new Vector2(x, y);
		}
		
		public function clone():Vector3
		{
			return new Vector3(x, y, z);
		}
		
		public function toString():String
		{
			return "Vector3 ["+x+", "+y+", "+z+"]";	
		}
	}
}